import { panel_common } from "../../shared/face";
//文字样式基础结构
export class Icard2 {
    resData: panel_common;
    constructor() {
        this.resData = {
            title: '未知面板',
            icon: '',
            emoji: '✉️',
            list: []
        };
    }
    l(key: string, val?: string | number | undefined) {
        this.resData.list.push({ key: key, val: val });
    }
    title(title: string) {
        this.resData.title = title;
    }
    icon(emoji: string, icon?: string) {
        this.resData.icon = icon;
        this.resData.emoji = emoji;
    }

}